<?php
	include 'DBController.php';

	$content = $_GET['antonym'];
	$meaningIndex = $_GET['meaningIndex'];
	$meaningId = $_GET['meaningId'];
	$wordId = $_GET['wordId'];
	updateWordEditTime($wordId);
	
	$antonym = new Antonym();
	$antonym->setContent($content);
	
	$antonym = addAntonym($antonym, $meaningId);
	
	$antonymId = $antonym->antonymId;
	
	echo $content."||".$antonymId."||".$meaningIndex;
?>